Integrand size = 31, antiderivative size = 44 \[ \int \frac {d f+e f x}{a+b (d+e x)^2+c (d+e x)^4} \, dx=-\frac {f \text {arctanh}\left (\frac {b+2 c (d+e x)^2}{\sqrt {b^2-4 a c}}\right )}{\sqrt {b^2-4 a c} e} \]
Time = 0.01 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.07 \[ \int \frac {d f+e f x}{a+b (d+e x)^2+c (d+e x)^4} \, dx=\frac {f \arctan \left (\frac {b+2 c (d+e x)^2}{\sqrt {-b^2+4 a c}}\right )}{\sqrt {-b^2+4 a c} e} \]
Time = 0.20 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.129, Rules used = {1462, 1432, 1083, 219}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {d f+e f x}{a+b (d+e x)^2+c (d+e x)^4} \, dx\) |
\(\Big \downarrow \) 1462 |
\(\displaystyle \frac {f \int \frac {d+e x}{c (d+e x)^4+b (d+e x)^2+a}d(d+e x)}{e}\) |
\(\Big \downarrow \) 1432 |
\(\displaystyle \frac {f \int \frac {1}{c (d+e x)^4+b (d+e x)^2+a}d(d+e x)^2}{2 e}\) |
\(\Big \downarrow \) 1083 |
\(\displaystyle -\frac {f \int \frac {1}{-(d+e x)^4+b^2-4 a c}d\left (2 c (d+e x)^2+b\right )}{e}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle -\frac {f \text {arctanh}\left (\frac {b+2 c (d+e x)^2}{\sqrt {b^2-4 a c}}\right )}{e \sqrt {b^2-4 a c}}\) |
3.7.41.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Simp[-2 Subst[I nt[1/Simp[b^2 - 4*a*c - x^2, x], x], x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x]
Int[(x_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[1/2 Subst[Int[(a + b*x + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, b, c, p}, x]
Int[(u_)^(m_.)*((a_.) + (b_.)*(v_)^2 + (c_.)*(v_)^4)^(p_.), x_Symbol] :> Si mp[u^m/(Coefficient[v, x, 1]*v^m) Subst[Int[x^m*(a + b*x^2 + c*x^(2*2))^p , x], x, v], x] /; FreeQ[{a, b, c, m, p}, x] && LinearPairQ[u, v, x]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 0.08 (sec) , antiderivative size = 130, normalized size of antiderivative = 2.95
method | result | size |
default | \(\frac {f \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (c \,e^{4} \textit {\_Z}^{4}+4 c d \,e^{3} \textit {\_Z}^{3}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 d^{3} e c +2 b d e \right ) \textit {\_Z} +d^{4} c +b \,d^{2}+a \right )}{\sum }\frac {\left (\textit {\_R} e +d \right ) \ln \left (x -\textit {\_R} \right )}{2 e^{3} c \,\textit {\_R}^{3}+6 c d \,e^{2} \textit {\_R}^{2}+6 c \,d^{2} e \textit {\_R} +2 d^{3} c +b e \textit {\_R} +b d}\right )}{2 e}\) | \(130\) |
risch | \(-\frac {f \ln \left (\left (e^{2} \sqrt {-4 a c +b^{2}}-b \,e^{2}\right ) x^{2}+\left (2 e d \sqrt {-4 a c +b^{2}}-2 b d e \right ) x +d^{2} \sqrt {-4 a c +b^{2}}-b \,d^{2}-2 a \right )}{2 \sqrt {-4 a c +b^{2}}\, e}+\frac {f \ln \left (\left (e^{2} \sqrt {-4 a c +b^{2}}+b \,e^{2}\right ) x^{2}+\left (2 e d \sqrt {-4 a c +b^{2}}+2 b d e \right ) x +d^{2} \sqrt {-4 a c +b^{2}}+b \,d^{2}+2 a \right )}{2 \sqrt {-4 a c +b^{2}}\, e}\) | \(176\) |
1/2*f/e*sum((_R*e+d)/(2*_R^3*c*e^3+6*_R^2*c*d*e^2+6*_R*c*d^2*e+2*c*d^3+_R* b*e+b*d)*ln(x-_R),_R=RootOf(c*e^4*_Z^4+4*c*d*e^3*_Z^3+(6*c*d^2*e^2+b*e^2)* _Z^2+(4*c*d^3*e+2*b*d*e)*_Z+d^4*c+b*d^2+a))
Time = 0.26 (sec) , antiderivative size = 274, normalized size of antiderivative = 6.23 \[ \int \frac {d f+e f x}{a+b (d+e x)^2+c (d+e x)^4} \, dx=\left [\frac {f \log \left (\frac {2 \, c^{2} e^{4} x^{4} + 8 \, c^{2} d e^{3} x^{3} + 2 \, c^{2} d^{4} + 2 \, {\left (6 \, c^{2} d^{2} + b c\right )} e^{2} x^{2} + 2 \, b c d^{2} + 4 \, {\left (2 \, c^{2} d^{3} + b c d\right )} e x + b^{2} - 2 \, a c - {\left (2 \, c e^{2} x^{2} + 4 \, c d e x + 2 \, c d^{2} + b\right )} \sqrt {b^{2} - 4 \, a c}}{c e^{4} x^{4} + 4 \, c d e^{3} x^{3} + c d^{4} + {\left (6 \, c d^{2} + b\right )} e^{2} x^{2} + b d^{2} + 2 \, {\left (2 \, c d^{3} + b d\right )} e x + a}\right )}{2 \, \sqrt {b^{2} - 4 \, a c} e}, -\frac {\sqrt {-b^{2} + 4 \, a c} f \arctan \left (-\frac {{\left (2 \, c e^{2} x^{2} + 4 \, c d e x + 2 \, c d^{2} + b\right )} \sqrt {-b^{2} + 4 \, a c}}{b^{2} - 4 \, a c}\right )}{{\left (b^{2} - 4 \, a c\right )} e}\right ] \]
[1/2*f*log((2*c^2*e^4*x^4 + 8*c^2*d*e^3*x^3 + 2*c^2*d^4 + 2*(6*c^2*d^2 + b *c)*e^2*x^2 + 2*b*c*d^2 + 4*(2*c^2*d^3 + b*c*d)*e*x + b^2 - 2*a*c - (2*c*e ^2*x^2 + 4*c*d*e*x + 2*c*d^2 + b)*sqrt(b^2 - 4*a*c))/(c*e^4*x^4 + 4*c*d*e^ 3*x^3 + c*d^4 + (6*c*d^2 + b)*e^2*x^2 + b*d^2 + 2*(2*c*d^3 + b*d)*e*x + a) )/(sqrt(b^2 - 4*a*c)*e), -sqrt(-b^2 + 4*a*c)*f*arctan(-(2*c*e^2*x^2 + 4*c* d*e*x + 2*c*d^2 + b)*sqrt(-b^2 + 4*a*c)/(b^2 - 4*a*c))/((b^2 - 4*a*c)*e)]
Leaf count of result is larger than twice the leaf count of optimal. 189 vs. \(2 (41) = 82\).
Time = 0.59 (sec) , antiderivative size = 189, normalized size of antiderivative = 4.30 \[ \int \frac {d f+e f x}{a+b (d+e x)^2+c (d+e x)^4} \, dx=- \frac {f \sqrt {- \frac {1}{4 a c - b^{2}}} \log {\left (\frac {2 d x}{e} + x^{2} + \frac {- 4 a c f \sqrt {- \frac {1}{4 a c - b^{2}}} + b^{2} f \sqrt {- \frac {1}{4 a c - b^{2}}} + b f + 2 c d^{2} f}{2 c e^{2} f} \right )}}{2 e} + \frac {f \sqrt {- \frac {1}{4 a c - b^{2}}} \log {\left (\frac {2 d x}{e} + x^{2} + \frac {4 a c f \sqrt {- \frac {1}{4 a c - b^{2}}} - b^{2} f \sqrt {- \frac {1}{4 a c - b^{2}}} + b f + 2 c d^{2} f}{2 c e^{2} f} \right )}}{2 e} \]
-f*sqrt(-1/(4*a*c - b**2))*log(2*d*x/e + x**2 + (-4*a*c*f*sqrt(-1/(4*a*c - b**2)) + b**2*f*sqrt(-1/(4*a*c - b**2)) + b*f + 2*c*d**2*f)/(2*c*e**2*f)) /(2*e) + f*sqrt(-1/(4*a*c - b**2))*log(2*d*x/e + x**2 + (4*a*c*f*sqrt(-1/( 4*a*c - b**2)) - b**2*f*sqrt(-1/(4*a*c - b**2)) + b*f + 2*c*d**2*f)/(2*c*e **2*f))/(2*e)
\[ \int \frac {d f+e f x}{a+b (d+e x)^2+c (d+e x)^4} \, dx=\int { \frac {e f x + d f}{{\left (e x + d\right )}^{4} c + {\left (e x + d\right )}^{2} b + a} \,d x } \]
Time = 0.39 (sec) , antiderivative size = 61, normalized size of antiderivative = 1.39 \[ \int \frac {d f+e f x}{a+b (d+e x)^2+c (d+e x)^4} \, dx=\frac {f \arctan \left (\frac {2 \, c d^{2} f + 2 \, {\left (e f x^{2} + 2 \, d f x\right )} c e + b f}{\sqrt {-b^{2} + 4 \, a c} f}\right )}{\sqrt {-b^{2} + 4 \, a c} e} \]
f*arctan((2*c*d^2*f + 2*(e*f*x^2 + 2*d*f*x)*c*e + b*f)/(sqrt(-b^2 + 4*a*c) *f))/(sqrt(-b^2 + 4*a*c)*e)
Time = 0.12 (sec) , antiderivative size = 477, normalized size of antiderivative = 10.84 \[ \int \frac {d f+e f x}{a+b (d+e x)^2+c (d+e x)^4} \, dx=\frac {f\,\mathrm {atan}\left (\frac {\frac {f\,\left (4\,c^2\,d^2\,e^7\,f+4\,c^2\,e^9\,f\,x^2-\frac {f\,\left (8\,b\,c^2\,d^2\,e^8+16\,b\,c^2\,d\,e^9\,x+8\,b\,c^2\,e^{10}\,x^2+16\,a\,c^2\,e^8\right )}{2\,e\,\sqrt {b^2-4\,a\,c}}+8\,c^2\,d\,e^8\,f\,x\right )\,1{}\mathrm {i}}{2\,e\,\sqrt {b^2-4\,a\,c}}+\frac {f\,\left (4\,c^2\,d^2\,e^7\,f+4\,c^2\,e^9\,f\,x^2+\frac {f\,\left (8\,b\,c^2\,d^2\,e^8+16\,b\,c^2\,d\,e^9\,x+8\,b\,c^2\,e^{10}\,x^2+16\,a\,c^2\,e^8\right )}{2\,e\,\sqrt {b^2-4\,a\,c}}+8\,c^2\,d\,e^8\,f\,x\right )\,1{}\mathrm {i}}{2\,e\,\sqrt {b^2-4\,a\,c}}}{\frac {f\,\left (4\,c^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